<?php
class Invoices extends AppModel 
{
  public $name="Invoices";
  public $belongsTo = array(
    'Periods'/* => array(
            'className' => 'Periods',
            'foreignKey' => 'period_id'
        )*/,
   'Members'/*=> array(
            'className' => 'Services',
            'foreignKey' => 'user_id'
        )*/
    );
  /*
$date = date('Y-m-d', strtotime( $this->data['Events']['date']));
        $this->data['Events']['date']=$date;
*/
  





}